delete temporary file for gui preview when done.
authortsteven4@gmail.com <tsteven4@gmail.com@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 23 Mar 2014 21:11:20 +0000 (21:11 +0000)
committertsteven4@gmail.com <tsteven4@gmail.com@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 23 Mar 2014 21:11:20 +0000 (21:11 +0000)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4782 f51c46e8-681c-474f-0cfe-069cfd0219fb

gpsbabel/gui/mainwindow.cc

index 4c13d09aa8d3e99487774b17b1c43e6d275913bf..b21e69e17ce03073a9c73a2faf3d25851a814b34 100644 (file)
@@ -1063,6 +1063,7 @@ void MainWindow::applyActionX()
       GMapDialog dlg(0, tempName, babelData_.debugLevel_ >=1 ? ui_.outputWindow : 0);
       dlg.show();
       dlg.exec();
+      QFile(tempName).remove();
       this->show();
     }
   }